<template>
  <div>
    <class-table
    :classTableData="classTableData"
    ></class-table>
  </div>
</template>

<script>
import ClassTable from '../components/ClassTable.vue'
export default {
  components: {
    ClassTable
  },
  data () {
    return {
      classTableData: {
        weeks: ['', '一', '二', '三', '四', '五', '六', '日'],
        courses: [
          [
            {
              id: 1,
              classId: 2,
              lessonsTime: '8:00-9:40',
              lessonsName: '计算机导论',
              lessonsAddress: '二教302',
              lessonsTeacher: '吴老师',
              lessonsRemark: '1-17周',
              lessonsNumber: '一',
              weekday: '星期一'
            }, {},
            {
              id: 19,
              classId: 2,
              lessonsTime: '8:00-9:40',
              lessonsName: '编译原理',
              lessonsAddress: '二教302',
              lessonsTeacher: '吴老师',
              lessonsRemark: '1-5,8-12周',
              lessonsNumber: '一',
              weekday: '星期四'
            }], [{
            id: 1,
            className: '软件工程',
            lessonsTime: '8:00-9:40',
            lessonsName: '计算机导论',
            lessonsAddress: '二教302',
            lessonsRemark: '1-17周',
            lessonsNumber: '二',
            weekday: '星期一'
          }, {
            id: 1,
            className: '软件工程',
            lessonsTime: '8:00-9:40',
            lessonsName: '计算机导论',
            lessonsAddress: '二教302',
            lessonsRemark: '1-17周',
            lessonsNumber: '二',
            weekday: '星期三'
          }]
        ]
      }
    }
  },
  created () {

  },
  methods: {

  }
}
</script>

<style lang="less" scoped>

</style>
